package internal

import "google.golang.org/protobuf/proto"

type NetActor interface {
	GetActor() any
}

type NetMsgTransformHandler interface {
	NetMsgToRpcMsg(NetActor, []byte) (string, []byte, error)
	RpcMsgToNetMsg(NetActor, string, []byte) []byte
	ResponseError(err error) proto.Message
}
